package ru.susu.algebra.partition.polyhedron.providers;

import java.util.List;
import java.util.Map;
import java.util.Set;

import ru.susu.algebra.partition.Partition;
import ru.susu.algebra.partition.PartitionsCacheConstructor;
import ru.susu.algebra.partition.filter.AllPartitionsFilter;

/**
 * @author akargapolov
 * @since: 11.03.2010
 */
public class AllVertexesProvider implements IVertexesProvider
{

	@Override
	public List<Partition> getVertexes(int number, Map<Integer, Set<Partition>> oldVertexes)
	{
		return new PartitionsCacheConstructor().getAscendingPartitions(number, new AllPartitionsFilter());
	}

}
